package com.jojo.bubble.entity;

import java.math.BigDecimal;
import java.util.Date;
import java.io.Serializable;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

/**
 * 代理商表(Agent)实体类
 *
 * @author makejava
 * @since 2023-08-10 03:50:44
 */
@Data
public class Agent extends AgentFill implements Serializable  {
    private static final long serialVersionUID = -81724114780198446L;

    private String data1;

    private String data2;
    private Integer id;

    private Integer agentId;
    private Integer supAgentId;
    private Integer nodeLevel;
    /**
     * 姓名
     */
    private String name;
    /**
     * 密码
     */
    private String password;
    /**
     * 手机号
     */
    private String phone;
    /**
     * 用户状态0正常1停止
     */
    private Integer status;
    /**
     * 等级
     */
    private Integer level;

    private Integer type;
    /**
     * 余额
     */
    private BigDecimal balance;

    private BigDecimal percent;

    private String remark;
    /**
     * 创建时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;
    /**
     * 修改时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date updateTime;

    private Integer deleted;


}

